﻿using System;
using MongoDB.Bson.Serialization.Attributes;

namespace Missbot.Service
{
    /// <summary>
    /// 数据库模型基类
    /// </summary>
    [Serializable]
    [BsonIgnoreExtraElements(Inherited = true)]
    public abstract class DbBaseEntity
    {
        [BsonId]
        public string Id { get; set; }
    }
}
